package model;

/**
 * 
 * @author Wim The RetrainingStudent class extends the Student and is an model
 *         class that stores information about a RetrainingStudent like
 *         studentNumber, name, course history, registrations, highestDegree and
 *         reason for training.
 * 
 */
public class RetrainingStudent extends Student {

	private String highestDegree;
	private String retrainingReason;

	public RetrainingStudent(){super(null,null);}
	
	/**
	 * Constructor to instantiate a RetrainingStudent with a studentNumber,
	 * name, highestDegree and retrainingReason.
	 * 
	 * @param studentNumber
	 *            The Student number.
	 * @param name
	 *            The student name.
	 * @param highestDegree
	 *            The highest degree the retraining student has.
	 * @param retrainingReason
	 *            The reason for wanting to retrain.
	 */
	public RetrainingStudent(String studentNumber, String name,
			String highestDegree, String retrainingReason) {
		super(studentNumber, name);
		this.highestDegree = highestDegree;
		this.retrainingReason = retrainingReason;
	}

	/**
	 * 
	 * @return A String value indicating the highest degree the student has.
	 */
	public String getHighestDegree() {
		return highestDegree;
	}

	/**
	 * Sets the value of the highest degree for the retraining student.
	 * @param highestDegree A String value indicating the highest degree for the retraining student.
	 */
	public void setHighestDegree(String highestDegree) {
		this.highestDegree = highestDegree;
	}

	/**
	 * 
	 * @return A string value indicating the reason for retraining.
	 */
	public String getRetrainingReason() {
		return retrainingReason;
	}

	/**
	 * Sets the reason for retraining.
	 * @param retrainingReason A String value indicating the reason for retraining.
	 */
	public void setRetrainingReason(String retrainingReason) {
		this.retrainingReason = retrainingReason;
	}
	
	/** Returns a string representation of a retraining student */
	/*@Override
	public String toString() {
		return String.format("%s (%s)", this.getName(), this.retrainingReason);
	}*/
	


}
